package com.yan.ems.utils;

public class CommonUtils {
	private static final ThreadLocal<String> userHolder = new ThreadLocal<>();
	public String getUser() {
		return userHolder.get();
	}

	public void setUser(String user) {
		userHolder.set(user);
	}

	public void removeUser() {
		userHolder.remove();
	}
}
